package connect4swt.gui;

import game.Player;

import org.eclipse.swt.widgets.Canvas;

import connect4swt.gui.checkers.CheckersBoard;


public class CheckersBoardFactory extends BoardFactory{

	@Override
	public Board createBoard(Canvas gameCanvas, Player me, Player opponent, int gameID) {		
		CheckersBoard board = new CheckersBoard(gameCanvas, me, opponent);
		board.setMatchId(gameID);				
		return board;
	}

}
